package com.luckynote.common.base.serialize;

import com.caucho.hessian.io.SerializerFactory;

/**
 * <pre>
 * *********************************************
 * Copyright LUCKY-NOTE.
 * All rights reserved.
 * ****************************************************
 *  Version       Date         Author            Desc
 *    v1.0       2019/6/29      bingo
 * ****************************************************
 * </pre>
 */
public class HessianSerializerFactory extends SerializerFactory {
    public static final SerializerFactory SERIALIZER_FACTORY = new HessianSerializerFactory();
    private HessianSerializerFactory() {}
    @Override
    public ClassLoader getClassLoader() {
        return Thread.currentThread().getContextClassLoader();
    }
}
